package saxion.speelveld.spaceengineer.model;

public class BuildingTile extends Tile
{
	private Building building;

	private int buildingPartX, buildingPartY;

	public BuildingTile(int backgroundID, Building building, int partX, int partY)
	{
		super(backgroundID);
		buildingPartX = partX;
		buildingPartY = partY;
		this.building = building;
	}

	public int getImageID()
	{
		return building.getImageID(buildingPartX, buildingPartY);
	}

	public Building getBuilding()
	{
		return this.building;
	}

}
